package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Goods;
import cn.wolfcode.car.business.domain.StockBillItem;
import cn.wolfcode.car.business.query.StockBillItemQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

/**
 * 岗位服务接口
 */
public interface IStockBillItemService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<StockBillItem> query(StockBillItemQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    StockBillItem get(Long id);


    /**
     * 保存
     * @param stockBillItem
     */
    void save(StockBillItem stockBillItem);

  
    /**
     * 更新
     * @param stockBillItem
     */
    void update(StockBillItem stockBillItem);

    /**
     *  批量删除
     * @param id
     */
    void removeBillItem(Long id);

    /**
     * 查询全部
     * @return
     */
    List<StockBillItem> list();

    void deleteBatch(String ids);

    void updateAmounts(List<Goods> list);
}
